iThemesSecurity\Lib\REST\Settings_Controller S

Total Complexity 32
Dependencies 9
Dependents 1
Total lines 236
Lines of code 180
Logical lines of code 64
Comment lines 11
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
S
54 6 19
patch_item()
S
53 5 21
update_item()
S
56 4 17
delete_item()
S
56 3 18
get_items()
S
61 3 12
register_routes()
S
48 1 37
get_collection_params()
S
58 1 19
get_item()
S
63 2 10
__construct()
S
77 1 4
get_items_permissions_check()
S
80 1 3
get_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
patch_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3
get_item_schema()
S
68 1 8